import requests


headers = {
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Cache-Control": "max-age=0",
    "Connection": "keep-alive",
    "Content-Type": "application/x-www-form-urlencoded",
    "Origin": "https://jw.guc.edu.cn",
    "Referer": "https://jw.guc.edu.cn/yethan/AssessAction?setAction=list",
    "Sec-Fetch-Dest": "document",
    "Sec-Fetch-Mode": "navigate",
    "Sec-Fetch-Site": "same-origin",
    "Sec-Fetch-User": "?1",
    "Upgrade-Insecure-Requests": "1",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0",
    "sec-ch-ua": "\"Chromium\";v=\"136\", \"Microsoft Edge\";v=\"136\", \"Not.A/Brand\";v=\"99\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\""
}
cookies = {
    "JSESSIONID": "A7D55ECB428EC7E38E68202257BED984",
    "sl-session": "scRWQGUlNGjdJuh1MNiLBw==",
    "Hm_lvt_da1a662b816ecaf953251c774dc1fb07": "1748161511",
    "HMACCOUNT": "A3B906C0767F9472",
    "username": "231123110374",
    "Hm_lpvt_da1a662b816ecaf953251c774dc1fb07": "1748161529"
}
url = "https://jw.guc.edu.cn/yethan/AssessAction"
params = {
    "setAction": "list"
}
data = {
    "term_id": "112"
}
response = requests.post(url, headers=headers, cookies=cookies, params=params, data=data)

print(response.text)
